package com.atguigu.sugar.service;

import com.atguigu.sugar.bean.TrafficBean;
import com.atguigu.sugar.mapper.TrafficMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lzc
 * @Date 2022/6/2 14:02
 */
@Service
public class TrafficServiceImpl implements TrafficService{
    
    @Autowired
    TrafficMapper trafficMapper;
    @Override
    public List<TrafficBean> statsByHour(Integer date) {
        return trafficMapper.statsByHour(date);
    }
    
}
